﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FileUploadExtension.aspx.cs" Inherits="FileUploadExtension" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>未命名頁面</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr style="background-color: #ffccff">
                <td colspan="2" style="height: 26px; text-align: center">
                    請指定檔案<asp:Label ID="txtFileSize" runat="server"></asp:Label></td>
            </tr>
            <tr style="background-color: #ccff99;">
                <td style="width: 100px; text-align: center; height: 26px;">
                    01</td>
                <td style="width: 100px; height: 26px;">
        <asp:FileUpload ID="FileUpload1" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: lightcyan;">
                <td style="width: 100px; text-align: center">
                    02</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload2" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: #ccff99;">
                <td style="width: 100px; text-align: center">
                    03</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload3" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: lightcyan;">
                <td style="width: 100px; text-align: center; height: 26px;">
                    04</td>
                <td style="width: 100px; height: 26px;">
                    <asp:FileUpload ID="FileUpload4" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: #ccff99;">
                <td style="width: 100px; text-align: center">
                    05</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload5" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: lightcyan;">
                <td style="width: 100px; text-align: center">
                    06</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload6" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: #ccff99;">
                <td style="width: 100px; text-align: center">
                    07</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload7" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: lightcyan;">
                <td style="width: 100px; text-align: center">
                    08</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload8" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: #ccff99;">
                <td style="width: 100px; text-align: center">
                    09</td>
                <td style="width: 100px">
                    <asp:FileUpload ID="FileUpload9" runat="server" Width="400px" /></td>
            </tr>
            <tr style="background-color: lightcyan;">
                <td style="width: 100px; text-align: center">
                    10</td>
                <td style="width: 100px; height: 26px;">
                    <asp:FileUpload ID="FileUpload10" runat="server" Width="400px" /></td>
            </tr>
        </table>
        <asp:Button ID="btnUpload" runat="server" Text="檔案上載" OnClick="btnUpload_Click" />
        <br />
        <br />
        <asp:Label ID="txtMsg" runat="server"></asp:Label><br />
        &nbsp;</div>
    </form>
</body>
</html>
